package com.run.fjy;

import com.run.bcpimp.util.RunProgramDriver;

/**
 * A description of an example program based on its class and a 
 * human-readable description.
 */
public class JobDriver {
  
  public static void main(String argv[]){
	    int exitCode = -1;
	    RunProgramDriver pgd = new RunProgramDriver();
	    try {
	      pgd.addClass("perday", "com.run.fjy.mr.PerDay", 
	                   "A map/reduce program that Extract terminalid");
	      pgd.addClass("newadd-local", "com.run.fjy.mr.NewAddLocal", 
                  "A map/reduce program that Extract terminalid newadd-local");
	      pgd.addClass("newadd-global", "com.run.fjy.mr.NewAddGlobal", 
                  "A map/reduce program that Extract terminalid newadd-local");
	     
	      pgd.driver(argv);
	      
	      // Success
	      exitCode = 0;
	    }
	    catch(Throwable e){
	      e.printStackTrace();
	    }
	    
	    System.exit(exitCode);
	  }
}
	
